home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / jcool01.zip / PROPERTY.H < prev    next >
C/C++ Source or Header  |  1992-08-20  |  1KB  |  43 lines

  1. //
  2. // Copyright (C) 1992 General Electric Company.
  3. //
  4. // Permission is granted to any individual or institution to use, copy, modify,
  5. // and distribute this software, provided that this complete copyright and
  6. // permission notice is maintained, intact, in all copies and supporting
  7. // documentation.
  8. //
  9. // General Electric Company provides this software "as is" without
  10. // express or implied warranty.
  11. //
  12. // Changed: VDN 04/15/92 -- Lice version
  13. // Updated: JAM 08/19/92 -- modernized template syntax, remove macro hacks
  14. //
  15. // In Lisp, property list provides a flexible way of storing intermediate
  16. // information, without changing the data structures. A property list is
  17. // implemented as a association vector between names and values.
  18. // Values can be pointers, ints, longs, float, double, and void* of course.
  19.  
  20. #ifndef PROPERTYH
  21. #define PROPERTYH
  22.  
  23. #ifndef STRINGH
  24. #include <cool/String.h>
  25. #endif
  26.  
  27. #ifndef VALUEH
  28. #include <cool/Value.h>
  29. #endif
  30.  
  31. #ifndef ASSOCIATIONH
  32. #include <cool/Association.h>
  33. #endif
  34.  
  35. typedef CoolPair<CoolString, CoolValue> HackProperty; //## BC++ requires this for Association
  36. typedef CoolAssociation<CoolString, CoolValue> CoolProperty;
  37.  
  38. #endif
  39.  
  40.  
  41.  
  42.  
  43.